home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Programming / SecalDemo / Inc / tagcalls / realtime.inc < prev    next >
Text File  |  1998-06-24  |  554b  |  28 lines

  1. pattern CreatePlayer( ...) is
  2.     push a6;
  3.     push.l ...;
  4.     a0:=sp;
  5.     a6:=RealTimeBase; jsr [a6-42];
  6.     sp:=sp+countof(...)<<2;
  7.     pop a6;
  8. endp;                                                            # CREATEPLAYER
  9.  
  10. pattern GetPlayerAttrs(_player, ...) is
  11.     push a6;
  12.     push.l ...;
  13.     safe a0:=_player; a1:=sp;;
  14.     a6:=RealTimeBase; jsr [a6-84];
  15.     sp:=sp+countof(...)<<2;
  16.     pop a6;
  17. endp;                                                            # GETPLAYERATTRS
  18.  
  19. pattern SetPlayerAttrs(_player, ...) is
  20.     push a6;
  21.     push.l ...;
  22.     safe a0:=_player; a1:=sp;;
  23.     a6:=RealTimeBase; jsr [a6-54];
  24.     sp:=sp+countof(...)<<2;
  25.     pop a6;
  26. endp;                                                            # SETPLAYERATTRS
  27.  
  28.